package org.person.test.mapper;


import org.person.basic.mapper.BaseMapper;
import org.person.test.domain.Role;
import org.person.test.dto.RolePermissionDTO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author stark
 * @since 2023-12-01
 */
public interface RoleMapper extends BaseMapper<Role> {

    void saveAuth(RolePermissionDTO dto);

    List<Long> queryPermissionById(Long id);

    void deleteAuth(Long id);
}



